-
Notifications
You must be signed in to change notification settings - Fork 41
feat: added selectId #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: added selectId #183
Conversation
@rainerhahnekamp or @abhijit-chikane Can you please review this PR? |
If it has no bugs, it will make it also into the 19 branch. For more details: #181 |
@rainerhahnekamp I merged this with master to fix the merge errors, now there are new commit rules that are throwing errors due to files i have not touched that are stopping me from fixing the lint errors. |
@DrakeAnglin as far as I can see it is complaining exaclty about those files where you made changes. Please run prettier on them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far. Can you also extend the current documentation so that it includes the selectId
option?
const createFlightWithCustomId = ( | ||
flight: Partial<FlightWithCustomId> = {} | ||
): FlightWithCustomId => ({ | ||
flightId: `${++currentCustomFlightId}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's to the conversion how it is also suggested in the Google styleguide.
flightId: `${++currentCustomFlightId}`, | |
flightId: String(++currentCustomFlightId), |
closes #67
closes #28